<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <title>admin</title>

    <meta name="keywords" content="">
    <meta name="description" content="">
    <link rel="shortcut icon" href="/favicon.ico" />
    <link rel="stylesheet" type="text/css" href="/static/css/admin/bootstrap.min14ed.css" />
    <link rel="stylesheet" type="text/css" href="/static/css/admin/font-awesome.min93e3.css" />
    <link rel="stylesheet" type="text/css" href="/static/css/admin/animate.min.css" />
    <link rel="stylesheet" type="text/css" href="/static/css/admin/plugins/summernote/new_sumnote.css"/>
    <link rel="stylesheet" type="text/css" href="/static/css/admin/plugins/summernote/summernote-bs3.css"/>
    <link rel="stylesheet" type="text/css" href="/static/css/admin/plugins/chosen/chosen.css"/>
    <link rel="stylesheet" type="text/css" href="/static/css/admin/plugins/datapicker/datepicker3.css"/>
    <link rel="stylesheet" type="text/css" href="/static/css/admin/plugins/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css"/>
    <link rel="stylesheet" type="text/css" href="/static/css/admin/style.min862f.css"/>
    <link href="/static/css/admin/admincommon.css?v=20181116" rel='stylesheet' type='text/css' />
</head>
<style type="text/css">

    .select-box{border:solid 1px #ddd;box-sizing:border-box;vertical-align:middle; width:20%; display:inline-block}
    .select{border:solid 1px #ddd;box-sizing:border-box;cursor: pointer;line-height:normal;font-weight: normal;width:100%; white-space:nowrap}
    .select-box .select{ border:none}
    .select-box.inline,.select-box.inline .select{ width:auto}
    .select-box,.select-box.size-M{padding:4px 5px}
    .select,.size-M .select{font-size: 14px}
    .select-box.size-MINI{padding:0px 5px}
    .size-MINI .select{font-size: 12px}
    .select-box.size-S{padding:3px 5px}
    .size-S .select{font-size: 12px}
    .select-box.size-L{padding:8px 5px}
    .size-L .select{font-size: 16px}
    .select-box.size-XL{padding:10px 5px}
    .size-XL .select{font-size: 18px}
    @media (max-width: 767px) {
        .responsive .select-box{ border:none}
        .responsive .select-box .select,
        .responsive .select{border:solid 1px #ddd; padding:10px;font-size:16px}
        .responsive .select-box,
        .responsive .select-box.size-M,
        .responsive .select-box.size-MINI,
        .responsive .select-box.size-S,
        .responsive .select-box.size-L,
        .responsive .select-box.size-XL{ height:auto; padding:0}
    }
</style>
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <form id="article_form" method="post" class="form-horizontal">
        <div class="row">
            <div class="col-sm-12">
                <div class="form-group">
                    <label class="col-sm-1 control-label">题目内容</label>
                    <div class="col-sm-6">
                        <input type="text" name="title" value="{$data['title']}" class="form-control">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label">BTC奖励金额</label>
                    <div class="col-sm-6">
                        <input type="text" name="btc_award" value="{$data['btc_award']}" class="form-control">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label">ETH奖励金额</label>
                    <div class="col-sm-6">
                        <input type="text" name="eth_award" value="{$data['eth_award']}" class="form-control">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label">USDT奖励金额</label>
                    <div class="col-sm-6">
                        <input type="text" name="usdt_award" value="{$data['usdt_award']}" class="form-control">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label">排序</label>
                    <div class="col-sm-6">
                        <input type="text" name="sort" value="{$data['sort']}" class="form-control">
                    </div>(越小越靠前)
                </div>
            </div>
        </div>

        <div style="margin-left: 140px" class="row">
            <button class="btn btn-primary" type="submit">保存内容</button>
        </div>
</div>
</form>
</div>
<js href="/static/js/admin/jquery.min.js"/>
<js href="/static/js/admin/bootstrap.min.js"/>
<js href="/static/js/admin/content.min.js"/>
<js href="/static/js/admin/plugins/chosen/chosen.jquery.js"/>
<js href="/static/js/admin/plugins/summernote/new_sumnote.js"/>
<js href="/static/js/admin/plugins/summernote/summernote-zh-CN.js"/>
<js href="/static/js/admin/plugins/layui/layer/layer.js"/>
<js href="/static/js/admin/plugins/layer/laydate/laydate.js"/>
<js href="/static/js/admin/plugins/layui/layui.js"/>
<js href="/static/js/admin/plugins/datapicker/bootstrap-datepicker.js"/>
<script>
    layui.use('laydate', function(){
        var laydate = layui.laydate;
        laydate.render({
            elem: '#test1'
            ,type: 'datetime'
        });
    });
    //laydate({elem:"#hello",event:"focus"});var start={elem:"#start",format:"YYYY/MM/DD hh:mm:ss",min:laydate.now(),max:"2099-06-16 23:59:59",istime:true,istoday:true,choose:function(datas){end.min=datas;end.start=datas}};var end={elem:"#end",format:"YYYY/MM/DD hh:mm:ss",min:laydate.now(),max:"2099-06-16 23:59:59",istime:true,istoday:false,choose:function(datas){start.max=datas}};laydate(start);laydate(end);laydate
    $(document).ready(function(){
        $("#temp_picture_wrap").on("click",'.del_temp_picture',function(){
            $("#article_poster").val('');
            $("#hide_article_poster").val('');
            $("#temp_picture_wrap").empty();
        });
    })

</script>
</html>
